import myaxios from "../MyAxios";
import BASEURL from "../BaseUrl";

const TCHYURL = BASEURL.TCHYURL;
const driverApi = {
  // 待认证司机列表
  getWaitAuditDriverList(params) {
    let url = TCHYURL + "/account/driver/list/verify/false";
    return myaxios.get(url, params);
  },
  // 待认证司机-认证详情
  getWaitAuditDriverDetails(params) {
    let url = TCHYURL + "/account/driver/detail";
    return myaxios.get(url, params);
  },
  getWaitAuditDriverDetails2(params) {
    let url = TCHYURL + "/account/driver/detail2";
    return myaxios.get(url, params);
  },
  // 已认证司机列表
  getAuditedDriverList(params) {
    let url = TCHYURL + "/account/driver/list/verify/true";
    return myaxios.get(url, params);
  },
  // 修改司机认证状态
  ModifyDriverCertification(params) {
    let url = TCHYURL + "/account/driver/verify/edit";
    return myaxios.post(url, params);
  },
  //司机点聚合地图
  queryAllDriver(params) {
    let url = TCHYURL + "/account/driver/queryAllDriver";
    return myaxios.post(url, params);
  },
  // //行为分列表
  // getBehaviorList(params) {
  //   let url = TCHYURL + "/order/order/behaviorList";
  //   return myaxios.get(url, params);
  // },
  //行为分申述审核
  behaviorStatement(params) {
    let url = TCHYURL + "/order/order/behaviorStatement";
    return myaxios.get(url, params);
  },
  //行为分申述列表
  getBehaviorStatementList(params) {
    let url = TCHYURL + "/order/order/behaviorStatementList";
    return myaxios.get(url, params);
  },
  // //行为分申述提交
  // submitBehaviorStatement(params) {
  //   let url = TCHYURL + "/order/order/submitBehaviorStatement";
  //   return myaxios.get(url, params);
  // },
//数据概览
  getOperational(params) {
    let url = TCHYURL + "/account/index/getOperational";
    return myaxios.post(url, params);
  },

//数据看板
getCorePlatformResult(params) {
  let url = TCHYURL + "/order/order/getCorePlatformResult";
  return myaxios.get(url, params);
},
//数据看板
getOrderMonitor(params) {
  let url = TCHYURL + "/order/order/getOrderMonitor";
  return myaxios.get(url, params);
},
};
export default driverApi;
